package com.hmall.search.service;

import com.hmall.api.dto.ItemDTO;
import com.hmall.search.domain.dto.PageDTO;
import com.hmall.search.domain.query.ItemPageQuery;

import java.util.List;
import java.util.Map;

public interface ISearchService {
    PageDTO<ItemDTO> search(ItemPageQuery query)  throws Exception;

    void initES()  throws Exception;

    Map<String, List<String>> filters(ItemPageQuery query) throws Exception;
}
